package com.pactera.madp.cp.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@TableName("cp_contact_relation")
@ApiModel(value = "客户关系对象")
@EqualsAndHashCode(callSuper = true)
public class ContactRelation extends Model<ContactRelation> {

    @ApiModelProperty(value = "受邀客户id")
    private Integer joinContactId;

    @ApiModelProperty(value = "外部联系人Id")
    private Integer contactId;

    @ApiModelProperty(value = "企业成员Id")
    private Integer employeeId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
}
